﻿@namespace MudBlazor.UnitTests.TestComponents
<MudPopoverProvider></MudPopoverProvider>

<MudDataGrid Items="@_items" Filterable="true">
    <Columns>
        <PropertyColumn Property="x => x.Id" />
        <PropertyColumn Property="x => x.Name" />
    </Columns>
</MudDataGrid>

@code {
    private IEnumerable<Model> _items = new List<Model>()
    {
        new Model("B"), 
        new Model("A"), 
        new Model("C"),
        new Model("C")
    };

    public class Model
    {
        public Guid Id { get; set; }
        public string Name { get; set; }

        public Model(string name)
        {
            Id = Guid.NewGuid();
            Name = name;
        }
    }

}
